import React, { Component } from "react";

import withHoc from "./withHoc";

@withHoc
class App extends Component {
  render() {
    console.log(this.props);
    return (
      <>
        <h2>hoc高阶组件</h2>
      </>
    );
  }
}

// const App2 = withHoc(App);

export default App;
